<h3 class="page-title">公告管理
    <small>Announcement Management</small>
</h3>
<ul class="breadcrumb">
    <li>
        <i class="icon-home"></i>
        <a href="javascript:;" ui-sref="index.home">首页</a>
        <i class="icon-angle-right"></i>
    </li>
    <li>
        <a href="javascript:;">公告系统</a>
        <i class="icon-angle-right"></i>
    </li>
    <li>
        <a href="javascript:;" ui-sref="index.noticeList">添加公告</a>
    </li>
    <li class="pull-right no-text-shadow">
        {{utc}} UTC
    </li>
</ul>


<div class="portlet box red">

    <div class="portlet-title">
        <div class="caption"><i class="icon-reorder"></i>当前公告列表</div>
        <div class="tools">
            <a href="javascript:;" class="collapse"></a>
            <a href="#portlet-config" data-toggle="modal" class="config"></a>
            <a href="javascript:;" class="reload"></a>
            <a href="javascript:;" class="remove"></a>
        </div>
    </div>

    <div class="portlet-body">
        <table datatable="ng" dt-options="dtOption" dt-column-defs="dtColumnDefs"  class="table table-striped table-bordered table-hover table-full-width dataTable">
            <thead>
            <tr>
                <th>序号</th>
                <th>标题</th>
                <th>发布时间</th>
                <th>发布人</th>
                <th>公告类型</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="notice in noticeList">
                <td>{{$index+1}}</td>
                <td>{{notice.title}}</td>
                <td>{{notice.date | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                <td>{{notice.user}}</td>
                <td ng-show="{{notice.type === '0'}}">系统公告</td>
                <td>
                    <a href="javascript:;" style="padding: 3px 10px" class="btn blue" ng-click="open(notice)"><i class="icon-eye-open"></i> 预览</a>
                    <a href="javascript:;" style="padding: 3px 10px" class="btn blue" ng-click=""><i class="icon-edit"></i> 编辑</a>
                    <a href="javascript:;" style="padding: 3px 10px" class="btn blue" ng-click="delete(notice.noticeId)"><i class="icon-trash"></i> 删除</a>
                </td>
            </tbody>

        </table>

    </div>

</div>


